package functional;

import java.util.function.Consumer;

/**
 * Author:ZouHeng
 * Description:
 * Date:2021-07-05  13:56
 **/
public class ConsumerAndThen {
    public void consumerString(Consumer<String> one, Consumer<String> two) {
        one.andThen(two).accept("Hello");
    }
}
